You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > Median Method > MatrixInt.Median Method ([In] TMtxVecInt, [In] int, [In] int, [In] int, [In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.Median Method ([In] TMtxVecInt, [In] int, [In] int, [In] int, [In] int)

Applies median filter with size Mask to Src object elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling vector elements [Index..Index+Len-1].

Syntax
C#
Visual Basic
public TMtxVecInt Median([In] TMtxVecInt Src, [In] int MaskSize, [In] int SrcIndex, [In] int Index, [In] int Len);

Median filter is a nonlinear filter which replaces each element of the Src vector with the median value, calculated over the fixed range (mask) centered around that element and stores the result in the calling vector.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!